import java.util.Scanner;

//import javax.print.attribute.standard.MediaSize.Other;
public class exerc_sala_sw {

	public static void main(String[] args) {
		
		Scanner leia = new Scanner (System.in);
		
		
		System.out.printf("Digite os Dois Valores: ");
		double a = leia.nextDouble();
		double b = leia.nextDouble();
		
		System.out.println();
		System.out.printf("=================");
		System.out.println();
		System.out.println();
		System.out.printf("Escolha as Opcoes ");
		System.out.println();
		System.out.printf("=================");
		System.out.println();
		System.out.printf("1 - Soma");
		System.out.println();
		System.out.printf("2 - Subtracao");
		System.out.println();
		System.out.printf("3 - Multiplicacao");
		System.out.println();
		System.out.printf("4 - Divisao");
		System.out.println();
		System.out.printf("=================");
		//int op;
		double result;
		int op;
		op = leia.nextInt();
		switch (op)
		{
		case 1:
		
			result = a + b;
			System.out.println();
			System.out.printf("valor soma: "+result);
			break;
		
		case 2:
		
			result = a - b;
			System.out.println();
			System.out.printf("valor subtracao: "+result);
			break;
		
		case 3:
		
			result = a * b;
			System.out.println();
			System.out.printf("valor Multiplicacao: "+result);
			break;
		
		case 4:
		
			result = a / b;
			System.out.println();
			System.out.printf("valor Divisao: "+result);
			break;
		
		default:
			System.out.println();
			System.out.printf("Opcao Invalida!");
			break;
		
		
			
		
		
		}
		
		
		
		


	}

}
